EchoSIOInt.asm
Language: 8080 Assembly
Last Modified: 2022-11-14 1:09:26 AM UTC
File Size: 933 bytes
Last Modified: 2022-11-14 1:09:26 AM UTC
File Size: 933 bytes
http://www.penguinstew.ca/example/AltairSerialEcho/EchoSIOInt.asm
;EchoSIOwithinterupts
ORG0000H
LXISP0100H;0000:310001Initalizestackpointer
MVIA01H;0003:3E01
OUT00H;0005:D300EnableSIOinputinterupt
EI;0007:FBEnableCPUinterupts
LOOP:NOP;0008:00
NOP;0009:00
NOP;000A:00
JMPLOOP;000B:C30800Programloop
ORG0038H;InteruptHandler
PUSHA;0038:F5SavevalueofaccumulatorandPSW
IN01H;0039:DB01
OUT01H;003B:D301Echovalue
POPA;003D:F1RestoreaccumulatorandPSW
EI;003E:FBRenableinterupts
RET;003F:C9return
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17